package org.jeecg.modules.room.service;

import org.jeecg.modules.room.entity.RoomBookRoom;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.room.entity.RoomInfo;

import java.util.List;

/**
 * @Description: 预定单和房间号对应表
 * @Author: jeecg-boot
 * @Date:   2023-12-18
 * @Version: V1.0
 */
public interface IRoomBookRoomService extends IService<RoomBookRoom> {


    //手动分房
    public void addFp(String bookMxId, List<RoomInfo> roomCodeList,String bookCode);

    //自动分配房间
    public void autoFpRoom(String bookMxIds,String bookCode);

    //自动分配房间
    public void autoFpRoomByBookCode(String bookCodes);

    //取消分配房间
    public void cancelFp(String bookMxIds,String bookCode);

    //取消分配房间
    public void cancelFpByBookCode(String bookCodes);
}
